/* 
    Document   : global.css
    Created on : Mar 22, 2011, 1:06:19 PM
    Author     : danon
    Description:
        This is a global stylesheet that describes the style of all pages.
*/

body {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: black;

    background-color: #ffffdd;
    background-image: url(../images/java.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom right;
}

div, fieldset{
    display: block;
    margin: 0px;
    border-style: none;
    border-width: 0px;
}

#container {
    margin: 0 auto;
    width: 790px;
    left: 50%;
    right: 50%;
    display: block;
}

#header {
    padding: 20px;
}

#header h1 { margin: 0; }

#navigation {
    float: left;
    width: 790px;
    background: #333;
}

#navigation ul {
    margin: 0;
    padding: 0;
}

#navigation ul li {
    list-style-type: none;
    display: inline;
}

#navigation li a {
    display: block;
    float: left;
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid #fff;
}

#navigation li a:hover { 
    background: #383;
}

#content-container {
    float: left;
    width: 100%;
}

#section-navigation {
    float: left;
    width: 120px;
    padding: 16px 0;
    margin: 0 2%;
    display: inline;
}

#section-navigation h3 {
    margin: 0;
    margin-bottom: 8px;
}

#section-navigation ul {
    margin: 0;
    padding: 0;
}

#section-navigation ul li {
    margin: 0 0 1em;
    padding: 0;
    list-style-type: none;
}

#content {
    float: left;
    width: 500px;
    padding: 16px 0;
}

#content h2 { margin: 0; }

#aside {
    float: right;
    width: 120px;
    
    padding-top: 16px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    
    margin: 0 0 0 0;
    
    display: inline;
}

#aside h3 { 
    margin: 0;
    margin-bottom: 8px;
}

#footer {
    clear: both;
    text-align: center;
    padding: 20px;
    height: 1%;
    font-size: 10px;
}

.fl_l {
    float: left;
}

.fl_r {
    float: right;
}

.img_l {
    float: left;
    padding: 8px;
}

.img_r {
    float: right;
    padding: 8px;
}

.clear {
    clear: left;
    clear: right;
}

.align_l {
    text-align: left;
}

.align_r {
    text-align: right;
}

.align_c {
    text-align: center;
}

.label {
    font-weight: bold;
    line-height: 150%;
    width: 140px;
    display: block;
    text-align: left;
}

.labeled {
    display: block;
    width: 200px;
    text-align: left;
}

.clear_fix::after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.highlight {
    color: red;
    font-weight: bold;
}

legend {
    margin-left: 16px;
    text-decoration: underline;
    font-weight: bold;
}

fieldset {
    border-style: dotted;
    border-width: 1px;
}